import request from '@/utils/request'

// 查询护理专家团队介绍列表
export function listNursingExperts(query) {
  return request({
    url: '/secondVitim/nursingExperts/list',
    method: 'get',
    params: query
  })
}

// 查询护理专家团队介绍详细
export function getNursingExperts(id) {
  return request({
    url: '/secondVitim/nursingExperts/' + id,
    method: 'get'
  })
}

// 新增护理专家团队介绍
export function addNursingExperts(data) {
  return request({
    url: '/secondVitim/nursingExperts',
    method: 'post',
    data: data
  })
}

// 修改护理专家团队介绍
export function updateNursingExperts(data) {
  return request({
    url: '/secondVitim/nursingExperts',
    method: 'put',
    data: data
  })
}

// 删除护理专家团队介绍
export function delNursingExperts(id) {
  return request({
    url: '/secondVitim/nursingExperts/' + id,
    method: 'delete'
  })
}
